Assembly Files
If we read about an Assembly in a proper sense then we found that all the .NET assemblies contain the definition of types, versioning information for the type, meta-data, and manifest. The developers and designers of .NET have worked a lot on the component (assembly) resolution. The assembly in .NET is the standard for components developed with the Microsoft.NET technology. The .NET assemblies may or may not be executable, i.e., they might exist as the executable (.exe) file or dynamic link library (DLL) file. Overall the .NET assemblies contain the definition of types, versioning information for the type, meta-data, and manifest. The designers or developer of .NET has worked a lot on the component (assembly) resolution. An Assembly is a basic building block of the.Net Framework applications. This is basically compiled code that can be executed by the CLR. The assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. The Assembly can be a .dll or .exe files depending upon the project that we choose.
There is two kind of assemblies in .NET:
- • Private Assembly
- • Shared Assembly
- • Satellite Assembly
Private Assemblies are simple and copied with each calling assemblies in the calling assemblies folder.
Single File Assembly :
Shared Assembly :
Satellite Assembly
The satellite assemblies are the .NET Framework assemblies containing resources specific to a given language. When you used satellite assemblies, you can place resources for different languages into the different assemblies, and the correct assembly is loaded into memory only if the user selects to view the application in that language.
Feature of Assembly
Assemblies are self-describing.
Version dependencies are recorded inside assembly manifest.
Assembly can be loaded side by side.
Installation can be easy as copying the files that belong to an assembly.
Assembly can be private or shared.
Type of Assembly
Role in Microsoft.Net
Different between Assembly and DLL
An assembly is basically a file that contains the MSIL Code and Metadata.
It is the smallest unit of deployment of .Net applications.
An assembly in .net has 2 extension (.exe and .dll)
Dll : dynamic link library.
So, we can say a dll is one type of an assembly
Thanks...!!! for reading this article.
Can you answer this question?
Answer
0 Answers